﻿<ResourceDictionary
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:Microsoft_Windows_Themes="clr-namespace:Microsoft.Windows.Themes;assembly=PresentationFramework.Aero" xmlns:d="http://schemas.microsoft.com/expression/blend/2006" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d"
  x:Class="Guide.AllResources">
	<!-- Resource dictionary entries should be defined here. -->
	<ControlTemplate x:Key="ScrollViewerControlTemplate1" TargetType="{x:Type ScrollViewer}">
		<Grid x:Name="Grid">
			<Grid.ColumnDefinitions>
				<ColumnDefinition Width="*"/>
				<ColumnDefinition Width="Auto"/>
			</Grid.ColumnDefinitions>
			<Grid.RowDefinitions>
				<RowDefinition Height="*"/>
				<RowDefinition Height="Auto"/>
			</Grid.RowDefinitions>
			<Rectangle x:Name="Corner" Fill="{DynamicResource {x:Static SystemColors.ControlBrushKey}}" Grid.Column="1" Grid.Row="1"/>
			<ScrollContentPresenter Margin="{TemplateBinding Padding}" x:Name="PART_ScrollContentPresenter" Grid.Column="0" Grid.Row="0" Content="{TemplateBinding Content}" ContentTemplate="{TemplateBinding ContentTemplate}" CanContentScroll="{TemplateBinding CanContentScroll}" CanHorizontallyScroll="False" CanVerticallyScroll="False"/>
			<ScrollBar Visibility="{TemplateBinding ComputedVerticalScrollBarVisibility}" Cursor="Arrow" x:Name="PART_VerticalScrollBar" Grid.Column="1" Grid.Row="0" ViewportSize="{TemplateBinding ViewportHeight}" Maximum="{TemplateBinding ScrollableHeight}" Minimum="0" Value="{Binding Path=VerticalOffset, Mode=OneWay, RelativeSource={RelativeSource TemplatedParent}}" AutomationProperties.AutomationId="VerticalScrollBar" MinWidth="10" Width="10" Background="{x:Null}"/>
			<ScrollBar Visibility="{TemplateBinding ComputedHorizontalScrollBarVisibility}" Cursor="Arrow" x:Name="PART_HorizontalScrollBar" Grid.Column="0" Grid.Row="1" Orientation="Horizontal" ViewportSize="{TemplateBinding ViewportWidth}" Maximum="{TemplateBinding ScrollableWidth}" Minimum="0" Value="{Binding Path=HorizontalOffset, Mode=OneWay, RelativeSource={RelativeSource TemplatedParent}}" AutomationProperties.AutomationId="HorizontalScrollBar"/>
		</Grid>
	</ControlTemplate>
	<LinearGradientBrush x:Key="VerticalScrollBarBackground" EndPoint="1,0" StartPoint="0,0">
		<GradientStop Color="#E1E1E1" Offset="0"/>
		<GradientStop Color="#EDEDED" Offset="0.20"/>
		<GradientStop Color="#EDEDED" Offset="0.80"/>
		<GradientStop Color="#E3E3E3" Offset="1"/>
	</LinearGradientBrush>
	<Style x:Key="ScrollBarButton" TargetType="{x:Type RepeatButton}">
		<Setter Property="OverridesDefaultStyle" Value="true"/>
		<Setter Property="Focusable" Value="false"/>
		<Setter Property="IsTabStop" Value="false"/>
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type RepeatButton}">
					<Microsoft_Windows_Themes:ScrollChrome SnapsToDevicePixels="true" x:Name="Chrome" RenderMouseOver="{TemplateBinding IsMouseOver}" RenderPressed="{TemplateBinding IsPressed}" Microsoft_Windows_Themes:ScrollChrome.ScrollGlyph="{TemplateBinding Microsoft_Windows_Themes:ScrollChrome.ScrollGlyph}"/>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	<Style x:Key="VerticalScrollBarPageButton" TargetType="{x:Type RepeatButton}">
		<Setter Property="OverridesDefaultStyle" Value="true"/>
		<Setter Property="Background" Value="Transparent"/>
		<Setter Property="Focusable" Value="false"/>
		<Setter Property="IsTabStop" Value="false"/>
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type RepeatButton}">
					<Rectangle Width="{TemplateBinding Width}" Height="{TemplateBinding Height}" Fill="{TemplateBinding Background}"/>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	<Style x:Key="ScrollBarThumb" TargetType="{x:Type Thumb}">
		<Setter Property="OverridesDefaultStyle" Value="true"/>
		<Setter Property="IsTabStop" Value="false"/>
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Thumb}">
					<ControlTemplate.Resources>
						<Storyboard x:Key="OverThumb">
							<ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="rectangle" Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)">
								<SplineColorKeyFrame KeyTime="00:00:00.1000000" Value="#FFF2F2F2"/>
							</ColorAnimationUsingKeyFrames>
						</Storyboard>
						<Storyboard x:Key="NotOverThumb">
							<ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="rectangle" Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)">
								<SplineColorKeyFrame KeyTime="00:00:00.1000000" Value="#FFC8C8C8"/>
							</ColorAnimationUsingKeyFrames>
						</Storyboard>
					</ControlTemplate.Resources>
					<Rectangle x:Name="rectangle" Fill="#FFC8C8C8" Stroke="{x:Null}" RadiusX="5" RadiusY="5"/>
					<ControlTemplate.Triggers>
						<Trigger Property="IsMouseOver" Value="True">
							<Trigger.EnterActions>
								<BeginStoryboard Storyboard="{StaticResource OverThumb}"/>
							</Trigger.EnterActions>
							<Trigger.ExitActions>
								<BeginStoryboard x:Name="NotOverThumb_BeginStoryboard" Storyboard="{StaticResource NotOverThumb}"/>
							</Trigger.ExitActions>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	<SolidColorBrush x:Key="ScrollBarDisabledBackground" Color="#F4F4F4"/>
	<LinearGradientBrush x:Key="HorizontalScrollBarBackground" EndPoint="0,1" StartPoint="0,0">
		<GradientStop Color="#E1E1E1" Offset="0"/>
		<GradientStop Color="#EDEDED" Offset="0.20"/>
		<GradientStop Color="#EDEDED" Offset="0.80"/>
		<GradientStop Color="#E3E3E3" Offset="1"/>
	</LinearGradientBrush>
	<Style x:Key="HorizontalScrollBarPageButton" TargetType="{x:Type RepeatButton}">
		<Setter Property="OverridesDefaultStyle" Value="true"/>
		<Setter Property="Background" Value="Transparent"/>
		<Setter Property="Focusable" Value="false"/>
		<Setter Property="IsTabStop" Value="false"/>
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type RepeatButton}">
					<Rectangle Width="{TemplateBinding Width}" Height="{TemplateBinding Height}" Fill="{TemplateBinding Background}"/>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>


  <DrawingBrush x:Key="RedBrush" Viewbox="0,0,8,8" ViewboxUnits="Absolute">
    <DrawingBrush.Drawing>
      <GeometryDrawing>
        
      <GeometryDrawing.Geometry>
        <RectangleGeometry RadiusX="0" RadiusY="0" Rect="0,0,8,8"/>
      </GeometryDrawing.Geometry>
      
        <GeometryDrawing.Brush>
          <LinearGradientBrush EndPoint="0.75,0.933" StartPoint="0.25,0.067">
            <GradientStop Color="#FFFF3D3D" Offset="0" />
            <GradientStop Color="#FFAF0000" Offset="1" />
          </LinearGradientBrush>
        </GeometryDrawing.Brush>
      </GeometryDrawing>
    </DrawingBrush.Drawing>
  </DrawingBrush>
  
  <DrawingBrush x:Key="DarkPurpleBrush" Viewbox="0,0,8,8" ViewboxUnits="Absolute">
    <DrawingBrush.Drawing>        
		<GeometryDrawing>
      <GeometryDrawing.Geometry>
        <RectangleGeometry RadiusX="0" RadiusY="0" Rect="0,0,8,8"/>
      </GeometryDrawing.Geometry>
      
      <GeometryDrawing.Brush>
          <LinearGradientBrush EndPoint="0.75,0.933" StartPoint="0.25,0.067">
            <GradientStop Color="#FF940091" Offset="0.004" />
            <GradientStop Color="#FF450017" Offset="0.991" />
          </LinearGradientBrush>
        </GeometryDrawing.Brush>		
		       
      </GeometryDrawing>      
    </DrawingBrush.Drawing>
  </DrawingBrush>

  <DrawingBrush x:Key="BlueBrush" Viewbox="0,0,8,8" ViewboxUnits="Absolute">
    <DrawingBrush.Drawing>
      <GeometryDrawing>

        <GeometryDrawing.Geometry>
          <RectangleGeometry RadiusX="0" RadiusY="0" Rect="0,0,8,8"/>
        </GeometryDrawing.Geometry>
        <GeometryDrawing.Brush>
          <LinearGradientBrush EndPoint="0.75,0.933" StartPoint="0.25,0.067">
            <GradientStop Color="#FF503DFF" Offset="0" />
            <GradientStop Color="#FF1C0190" Offset="1" />
          </LinearGradientBrush>
        </GeometryDrawing.Brush>
      </GeometryDrawing>
    </DrawingBrush.Drawing>
  </DrawingBrush>
  <DrawingBrush x:Key="OrangeBrush" Viewbox="0,0,8,8" ViewboxUnits="Absolute">
    <DrawingBrush.Drawing>
      <GeometryDrawing>

        <GeometryDrawing.Geometry>
          <RectangleGeometry RadiusX="0" RadiusY="0" Rect="0,0,8,8"/>
        </GeometryDrawing.Geometry>
        <GeometryDrawing.Brush>
          <LinearGradientBrush EndPoint="0.75,0.933" StartPoint="0.25,0.067">
            <GradientStop Color="#FFFFD35F" Offset="0" />
            <GradientStop Color="#FFE8840C" Offset="1" />
          </LinearGradientBrush>
        </GeometryDrawing.Brush>
      </GeometryDrawing>
    </DrawingBrush.Drawing>
  </DrawingBrush>
  <DrawingBrush x:Key="PurpleBrush" Viewbox="0,0,8,8" ViewboxUnits="Absolute">
    <DrawingBrush.Drawing>
      <GeometryDrawing>

        <GeometryDrawing.Geometry>
          <RectangleGeometry RadiusX="0" RadiusY="0" Rect="0,0,8,8"/>
        </GeometryDrawing.Geometry>
        <GeometryDrawing.Brush>
          <LinearGradientBrush EndPoint="0.75,0.933" StartPoint="0.25,0.067">
            <GradientStop Color="#FF9B5FFF" Offset="0" />
            <GradientStop Color="#FF510A70" Offset="1" />
          </LinearGradientBrush>
        </GeometryDrawing.Brush>
      </GeometryDrawing>
    </DrawingBrush.Drawing>
  </DrawingBrush>
  <DrawingBrush x:Key="GreenBrush" Viewbox="0,0,8,8" ViewboxUnits="Absolute">
    <DrawingBrush.Drawing>
      <GeometryDrawing>

        <GeometryDrawing.Geometry>
          <RectangleGeometry RadiusX="0" RadiusY="0" Rect="0,0,8,8"/>
        </GeometryDrawing.Geometry>
        <GeometryDrawing.Brush>
          <LinearGradientBrush EndPoint="0.75,0.933" StartPoint="0.25,0.067">
            <GradientStop Color="#FF72FF5F" Offset="0.004" />
            <GradientStop Color="#FF16700A" Offset="1" />
          </LinearGradientBrush>
        </GeometryDrawing.Brush>
      </GeometryDrawing>
    </DrawingBrush.Drawing>
  </DrawingBrush>
  <DrawingBrush x:Key="YellowBrush" Viewbox="0,0,8,8" ViewboxUnits="Absolute">
    <DrawingBrush.Drawing>
      <GeometryDrawing>

        <GeometryDrawing.Geometry>
          <RectangleGeometry RadiusX="0" RadiusY="0" Rect="0,0,8,8"/>
        </GeometryDrawing.Geometry>
        <GeometryDrawing.Brush>
          <LinearGradientBrush EndPoint="0.75,0.933" StartPoint="0.25,0.067">
            <GradientStop Color="#FFF7FF6A" Offset="0.004" />
            <GradientStop Color="#FFBFB600" Offset="0.991" />
          </LinearGradientBrush>
        </GeometryDrawing.Brush>
      </GeometryDrawing>
    </DrawingBrush.Drawing>
  </DrawingBrush>
  <DrawingBrush x:Key="PinkBrush" Viewbox="0,0,8,8" ViewboxUnits="Absolute">
    <DrawingBrush.Drawing>
      <GeometryDrawing>

        <GeometryDrawing.Geometry>
          <RectangleGeometry RadiusX="0" RadiusY="0" Rect="0,0,8,8"/>
        </GeometryDrawing.Geometry>
        <GeometryDrawing.Brush>
          <LinearGradientBrush EndPoint="0.75,0.933" StartPoint="0.25,0.067">
            <GradientStop Color="#FFFF6AD9" Offset="0.004" />
            <GradientStop Color="#FFBF0051" Offset="0.991" />
          </LinearGradientBrush>
        </GeometryDrawing.Brush>
      </GeometryDrawing>
    </DrawingBrush.Drawing>
  </DrawingBrush>
  <DrawingBrush x:Key="LightBlueBrush" Viewbox="0,0,8,8" ViewboxUnits="Absolute">
    <DrawingBrush.Drawing>
      <GeometryDrawing>

        <GeometryDrawing.Geometry>
          <RectangleGeometry RadiusX="0" RadiusY="0" Rect="0,0,8,8"/>
        </GeometryDrawing.Geometry>
        <GeometryDrawing.Brush>
          <LinearGradientBrush EndPoint="0.75,0.933" StartPoint="0.25,0.067">
            <GradientStop Color="#FF6AFFFE" Offset="0.004" />
            <GradientStop Color="#FF0060BF" Offset="0.991" />
          </LinearGradientBrush>
        </GeometryDrawing.Brush>
      </GeometryDrawing>
    </DrawingBrush.Drawing>
  </DrawingBrush>
  <DrawingBrush x:Key="DarkGreenBrush" Viewbox="0,0,8,8" ViewboxUnits="Absolute">
    <DrawingBrush.Drawing>
      <GeometryDrawing>

        <GeometryDrawing.Geometry>
          <RectangleGeometry RadiusX="0" RadiusY="0" Rect="0,0,8,8"/>
        </GeometryDrawing.Geometry>
        <GeometryDrawing.Brush>
          <LinearGradientBrush EndPoint="0.75,0.933" StartPoint="0.25,0.067">
            <GradientStop Color="#FF049400" Offset="0.004" />
            <GradientStop Color="#FF004505" Offset="0.991" />
          </LinearGradientBrush>
        </GeometryDrawing.Brush>
      </GeometryDrawing>
    </DrawingBrush.Drawing>
  </DrawingBrush>
  
</ResourceDictionary>